useState not working - wanting to keep track of two variables

join shbcf.ru